/**
 * @author 铭
 * @TODO 11/1/2024
 */
package com.woniuxy.services;

import com.github.pagehelper.PageInfo;
import com.woniuxy.entitys.TbShareholder;
import com.woniuxy.entitys.TbUser;

import java.util.List;
import java.util.Map;

public interface ShareholderService {
    PageInfo<TbShareholder> selAll(String name, Integer pageNum, List<String> dateArr);

    int refDel(Integer id);

    int addShare(TbUser user);

    int edit(TbShareholder shareholder);

    TbShareholder selShareholderByUid(Integer uid);

    int updataShareholder(TbShareholder shareholder);
    int getallshareholder();

    List<Map> getprofit();
}
